﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>鼠标放到图片上会显示另外一张图片</title>
    <script language="JavaScript">
        function changeSrc(obj)
        {
            obj.src="LOGO2.gif";//改变图像地址
        }
    </script>
</head>
<body>
<img onmousemove="changeSrc(this)" src="LOGO1.gif" />
</body>
</html>